package com.fenghongzhang.day014;

import android.Manifest;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;
import android.widget.Toast;

public class MyReceiver extends BroadcastReceiver {

    private static final String TAG = "MyReceiver";
    @Override
    public void onReceive(Context context, Intent intent) {
        Log.i(TAG, "onReceive: ");
        //主要来启动服务或者页面
        //不要耗时
//        Intent intent1 = new Intent(context, Manifest);
//        context.startActivity(intent1);
    }
}
